/*
 * Copyright (C) 2009 Ionut Dediu <deionut@yahoo.com>
 *
 * Licensed under the GNU General Public License Version 2
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

// SmartCamViewFinderView.h

#ifndef __SMARTCAM_VIEW_FINDER_VIEW_H__
#define __SMARTCAM_VIEW_FINDER_VIEW_H__

#include <aknview.h>	// CAknView

class CSmartCamViewFinderContainer;

class CSmartCamViewFinderView : public CAknView
	{
	public:
		static CSmartCamViewFinderView* NewL();
		virtual ~CSmartCamViewFinderView();
		void HandleSizeChange();
		void ForceRedraw();

	private:
		// Constructors:
		void ConstructL();
		CSmartCamViewFinderView();
		// Functions from base classes:
        TUid Id() const;
        void HandleCommandL(TInt aCommand);
        void DoActivateL(const TVwsViewId& aPrevViewId,
                         TUid aCustomMessageId,
                         const TDesC8& aCustomMessage);
        void DoDeactivate();
        void DynInitMenuPaneL(TInt aResourceId, CEikMenuPane* aMenuPane);

		// Data:
		CSmartCamViewFinderContainer* iContainer;
	};

#endif//__SMARTCAM_VIEW_FINDER_VIEW_H__

